package ds.dsr.enums;

/**
 * @author sunchong
 * @date 2018/4/23
 */
public enum LogEnum {
    LOG_INFO(0, "info", "正常"),
    LOG_WARM(1, "warm", "警告"),
    LOG_ERROR(2, "error", "错误");
    private Integer id;
    private String level;
    private String desc;

    public String getLevel(){
        return level;
    }

    LogEnum(Integer id, String level, String desc){
        this.id = id;
        this.level = level;
        this.desc = desc;
    }
}
